package com.sd365.permission.centre.pojo.query;

import com.sd365.common.core.common.pojo.vo.BaseQuery;
import com.sd365.common.core.common.pojo.vo.TenantBaseQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @version 1.0
 * @ClassName: RoleQuery
 * @Description: 包装查询角色需要用到的参数
 * @Author: Hejiale
 * @Date: 2023-06-13 15:01
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "角色管理模块查询参数")
public class RoleQuery extends BaseQuery {

    /**
     * 角色ID
     * 前端只用于通过角色名字查询，code弃用
     */
    @ApiModelProperty(value="id角色ID")
    private Long id;

    /**
     * 角色名称
     */
    @ApiModelProperty(value="name角色名称")
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
